#include <gtest/gtest.h>
#include <gmock/gmock.h>

#include "DriverModule/ConcreteDriver/IO.h"

#include <iostream>
using namespace std;

TEST(test_IO, IO_01)
{
    std::string ioName = "io1";
    IO io = IO(ioName);

    EXPECT_TRUE(io.Init());

    io.SetIO(false);
    EXPECT_EQ(io.GetIO(), false);
    io.SetIO(true);
    EXPECT_EQ(io.GetIO(), true);

}
